package com.itheima.ydd.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
//数据分类
public class YddCate {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id; //分类id
    private String catename;  //分类属性
    private String icon;    //字段图标class
    @JsonProperty("sort_num")
    private Integer sortNum;   //排序数字
    @JsonProperty("default_data")
    private String defaultData;    //是否为默认数据,null.不是,1.是
}
